home *** CD-ROM | disk | FTP | other *** search
- %case uses%
- %case instance%
- %case zMake.decl%
- Procedure Make%itemname% (enclosure: CView;
- supervisor: CBureaucrat);
- %case zMake%
- {----------}
- %if modeless%
- Procedure Z%dlogname%.Make%itemname% (
- %else%
- Procedure Z%windname%.Make%itemname% (
- %endif%
- enclosure: CView;
- supervisor: CBureaucrat);
- Begin
- { override this method to create and initialize %itemname% }
- End; {Make%itemname%}
-
- %case instance.override%
- %itemname%:% %CPanorama;
- %case Make.decl%
- Procedure Make%itemname% (enclosure: CView;
- supervisor: CBureaucrat); override;
- %case Make%
- {----------}
- %if modeless%
- Procedure C%dlogname%.Make%itemname% (
- %else%
- Procedure C%windname%.Make%itemname% (
- %endif%
- enclosure: CView;
- supervisor: CBureaucrat);
- Begin
- New (%itemname%);
- %itemname%.IViewRes ('Pano', %paneID%, enclosure, supervisor);
- %if not modeless%
- mainPanorama := %itemname%;
- %endif%
- End; {Make%itemname%}
-
- %case create%
-
- Make%itemname% (enclosure, supervisor);
- %case itemNr%
- %DefineItem%
- %case dialog field%
- %fieldname%:% %Handle;
- %Enable?%
- %haveField%
- %case init field%
- %fieldname% := nil;
- %Enable?%
- %case auxiliary%
- %case auxiliary%
- {----------}
- Procedure Draw%Itemname% (whichDialog: DialogPtr;
- itemNr: integer);
- Begin
- End; {Draw%Itemname%}
-
- %case filter%
- %case set%
- SetUserItem (%Itemname%, @Draw%Itemname%);
- %case enable%
- %Enable?%
- %case hit%
- %case finish%
-